package com.itheima.day14_继承.继承01;

import com.itheima.day14_继承.继承01.Person;

public class Student extends Person {
    private String school; // 所在学校

    public Student() {
    }

    public Student(String name, int age, String birthday, String school) {
        super(name, age, birthday);
        this.school = school;
    }

    public String getInfo(){
        return super.getInfo() + "," + school;
    }
}
